package com.aaa.day117.demo3;

/**
 * @Description:
 * @author:LiWei
 * @date:2022年11月07日13:27
 */
public class Singleton1 {

    private Singleton1(){

    }
    private static Singleton1 singleton1=new Singleton1();

    public static Singleton1 getInstance(){
        return singleton1;
    }

    public void show(){
        System.out.println("========show方法========");
    }
}
